//
//  KABSettingTCell.m
//  kabu
//
//  Created by XiangDongMBP on 2017/2/12.
//  Copyright © 2017年 East. All rights reserved.
//

#import "KABSettingTCell.h"

@implementation KABSettingTCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    [self.msgSwitch addTarget:self action:@selector(msgSwitchValueChanged:) forControlEvents:UIControlEventValueChanged];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)msgSwitchValueChanged:(UISwitch *)uiswitch {
    if ([self.delegate respondsToSelector:@selector(kABSettingTCell:switchTapped:)]) {
        [self.delegate kABSettingTCell:self switchTapped:uiswitch];
    }
}

@end
